﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace furion.blog.Domain.MySQL
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("news")]
    public class News
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="news_id" ,IsPrimaryKey = true   )]
         public long NewsId { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="title"    )]
         public string Title { get; set; }
        /// <summary>
        /// 活动类型【开盘速递：KaiPanSuDi  销售动态：XiaoShouDongTai 活动快讯：HuoDongKuaiXun 优惠活动：YouHuiHuoDong】 
        ///</summary>
         [SugarColumn(ColumnName="news_type"    )]
         public string NewsType { get; set; }
        /// <summary>
        /// 内容 
        ///</summary>
         [SugarColumn(ColumnName="content"    )]
         public string Content { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="created_time"    )]
         public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 创建人 
        ///</summary>
         [SugarColumn(ColumnName="created_by"    )]
         public long? CreatedBy { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
         [SugarColumn(ColumnName="updated_time"    )]
         public DateTime? UpdatedTime { get; set; }
        /// <summary>
        /// 更新人 
        ///</summary>
         [SugarColumn(ColumnName="updated_by"    )]
         public long? UpdatedBy { get; set; }
        /// <summary>
        /// 状态【待发布:WaitForPub 已发布：Published 下架：Off 】 
        ///</summary>
         [SugarColumn(ColumnName="status"    )]
         public string Status { get; set; }
        /// <summary>
        /// 是否删除【Yes No】 
        ///</summary>
         [SugarColumn(ColumnName="is_delete"    )]
         public string IsDelete { get; set; }
    }
}
